package com.yanqu.road.entity.enums.activity.pawnshop;

/**
 * 当铺员工类型
 */
public enum ePawnshopStaffType {

	Repairer("修复师", 1), 
	Faker("伪造师", 2), 
	Brainwasher("洗脑师", 3),
	;

	private String name;
	private int intValue;

	ePawnshopStaffType(String name, int value) {
		this.intValue = value;
		this.name = name;
	}

	public int getValue() {
		return intValue;
	}

	public String getName() {
		return name;
	}

	public static ePawnshopStaffType forValue(int value) {
		for (ePawnshopStaffType type : ePawnshopStaffType.values()) {
			if (type.intValue == value) {
				return type;
			}
		}
		return null;
	}
}
